<?php 
require_once(dirname(__FILE__)."/../../libs/login/login.php");
require_once(dirname(__FILE__)."/../../libs/string/libstr.php");
require_once(dirname(__FILE__)."/../../admin/libs/member_class.php");
$mb=new member();
$mc=new libstr();
$lg=new login();
$lg->checklogin("admin_member");//检验是否登录

//删除用户类别
if($mc->Ismp($_GET["del"])!="")
{  //exit($_GET["del"]);
	$pd->cata_del($_GET["del"]);
	//$mc->msg("","product_class.php?classid=".$_GET["classid"]);
}

?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>后台管理系统</title>
<link href="../css/css.css" rel="stylesheet" type="text/css" />
</head>
<body style="background:#fff"> 
<div class="content">
    <div class="right">
<form name="form1" method="post" action="" style="margin:0px">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td align="right"><img src="../images/weizhleft.png" width="12" height="45" /></td>
            <td width="100%" style="background:url(../images/weizhimid.png) repeat-x"><table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td width="87%"><?php echo $path;?></td>
                <td width="13%"><Div class="xuanxiang"><input type="button" name="add" id="add" onclick="location.href='member_class_creat.php?classid=<?php echo $_GET["classid"]?>'"value="添加新类" /></Div></td>
              </tr>
            </table></td>
            <td width="1%" align="right" ><img src="../images/weizhiright.png" width="12" height="45" /></td>
          </tr>
        </table></td>
      </tr>
      <tr>
        <td><table width="100%" border="0" cellspacing="0" cellpadding="0" class="bg">
          <tr>
            <td valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0"  class="line">
              <thead style="background:url(../images/titlebg.jpg) repeat-x;font-family:'微软雅黑'; font-weight:normal; font-size:13px; color:#659200;">
              	<tr>
                	<th height="35" colspan="2" align="left" style="padding-left:1%; ">分类</th>
                    <th width="25%" colspan="-4" align="center"><strong>排序</strong></th>
                    <th width="25%" colspan="-3" align="center">编辑</th>
                </tr>
              </thead>
              <tbody>
			 <?php 
    //获得类别
    $db->depth=0;
    $twhere="";
   
    $db->getclass("member_class",0,"&nbsp;&nbsp;","member_class_creat.php","member_class_edit.php","",$twhere);
    ?>
              	
              
              </tbody>
            </table>
            </td>
          </tr>
        </table>
        </td>
      </tr>
    </table>
	</div>
	</div>
	</form>
</body>
</html>
